
package com.hlkj.pay.dto.ad;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.util.ArrayList;
import java.util.List;

import com.hlkj.framework.common.util.json.JsonUtils;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/10/24 16:44
 */
@Data
public class AdPayTypDto {

    @Schema(description = "图标")
    private String wayIcon;

    @Schema(description = "支付方式")
    private Integer wayCode;

    @Schema(description = "支付名称")
    private String wayName;
    
    public static void main(String[] args) {
        AdPayTypDto adPayTypDto=new AdPayTypDto();
        adPayTypDto.setWayCode(1);
        adPayTypDto.setWayIcon("https://www.baidu.com");
        adPayTypDto.setWayName("支付宝");
        
        List<AdPayTypDto> adPayTypDtos=new ArrayList<>();
        adPayTypDtos.add(adPayTypDto);
        System.out.println(JsonUtils.toJsonString(adPayTypDtos));
        
    }
}
